<!DOCTYPE html>
<html lang="zh" ng-app="servicecenter-index" ng-controller="mainCtrl">
<head>
    <meta charset="UTF-8">
    <title ng-bind="i18n.SYSNAME"></title>

    <link href="shared/lib/jquery/sweet-alert/sweet-alert.css" rel="stylesheet"/>

    <script src="shared/lib/jquery/jquery.min.js"></script>
    <script src="shared/lib/jquery/sweet-alert/sweet-alert.js"></script>
    <script src="shared/lib/angular/angular/angular.js"></script>
    <script src="shared/lib/angular/angular/angular-cookies.js"></script>
    <script src="shared/lib/encryption/des.js"></script>
    <script src="shared/lib/angular/angular-local-storage/angular-local-storage.js"></script>

    <!--shared-->
    <link rel="stylesheet" href="shared/css/shared.css"/>
    <script src="shared/scripts/shared.js"></script>

    <!-- build:css index/index.min.css -->
    <link rel="stylesheet" href="index/css/index.css"/>
    <link ng-if="lang == 'en'" href="shared/css/en.css" rel="stylesheet"/>
    <!-- endbuild -->

    <!-- build:js index/index.min.js -->
    <script src="index/app.js"></script>
    <script src="index/controllers/main-ctrl.js"></script>
    <!-- endbuild -->

</head>
<body>

<div id="login" ng-keydown="keydownEvt($event)" tabindex="1">
    <div id="login-div">
        <div class="login-title">
            <span>{{i18n.SYSNAME}}</span>
        </div>
        <div class="login-input">
            <span class="input-label"><img src="shared/img/user.png"/></span>
            <input class="input-box" ng-model="info.userName" placeholder="{{i18n.USER_NAME}}" autofocus="autofocus"/>
        </div>
        <div class="login-input">
            <span class="input-label"><img src="shared/img/code.png"/></span>
            <input type="password" class="input-box pwd" ng-model="info.passWord" placeholder="{{i18n.PASSWORD}}"/>
        </div>

        <span class="login-msg" ng-show="errMsg" ng-bind="errMsg"></span>
        <div ng-click="login()" class="btn login-btn">
            <span ng-show="!isLogging" class="btn-text">{{i18n.LOGIN}}</span>
            <img ng-show="isLogging" src="shared/img/loadding.gif"/>
        </div>
    </div>
</div>

</body>
</html>